Unable to resolve service for type Microsoft.AspNetCore.Identity.UserManager

208

Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager -

services.AddIdentity<Automobile.Models.Account, IdentityRole>(options =>
    {
        options.User.RequireUniqueEmail = false;
    })
    .AddEntityFrameworkStores<Providers.Database.EFProvider.DataContext>()
    .AddDefaultTokenProviders();

Comments

Submit
0 Comments